package hfdp.chp06.chp0602;

/**
 * Created by cheyiwen on 16/8/30.
 */
public class CeilingFan {

    private String location;

    public CeilingFan(String location) {
        this.location = location;
    }

    public void on() {
        System.out.println(location + " ceiling fan is on hight");
    }

    public void off() {
        System.out.println(location + " ceiling fan is off");
    }
}
